package com.ehome.poct.backend.controller.device;

import com.ehome.poct.base.api.feign.device.TestDeviceFeginClient;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 设备表控制器
 *
 * @author yjm
 * @Date 2021-11-17 15:46
 */
@Slf4j
@Api(tags = "设备表")
@RestController
@RequestMapping("/test_device")
public class TestDeviceController {
    @Autowired
    private TestDeviceFeginClient testDeviceFeginClient;
    
//    @ApiOperation("分页查询版本占比数据")
//    @ApiOperationSupport(author = "瑶苏", order = 1)
//    @GetMapping("/versionPage")
//    public Page<TestDeviceVersionDataVO> page(TestDeviceVersionQry qry) {
//        return testDeviceFeginClient.page(qry);
//    }
//
//    @ApiOperation("查询版本数据")
//    @ApiOperationSupport(author = "瑶苏", order = 2)
//    @GetMapping("/getVersionData")
//    public TestVersionVO getVersionData(TestDeviceVersionQry qry) {
//        return testDeviceFeginClient.getVersionData(qry);
//    }
    //通过sno号查询相关绑定状态和绑定诊所
}
